<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:fragment xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	<h:form id="formCabecalho">
		<p:fieldset styleClass="area-cabecalho" rendered="#{login.loginEfetuado()}">
	        <h:panelGrid columns="2" cellpadding="5">
	        	<p:column>
	        		<h:graphicImage url="/resources/images/logo.png" />
	        	</p:column>
	        	<p:column>
	        		<h:outputText value="#{str.descricao_aux_sistema}" />
	        		<h:panelGrid columns="6" cellpadding="1" styleClass="area-opcoes-usuario">
	        			<p:column>
		        			<h:outputText value="#{str.cabecalho_acessando_como}:" />
	        			</p:column>
	        			<p:column>
	        				<h:outputText value="#{login.usuario.login}" styleClass="area-opcoes-usuario-valor-campo" />
	        			</p:column>
	        			<p:column>
	        				<h:outputText value="-" />
	        			</p:column>
	        			<p:column>
	        				<p:commandLink value="#{str.cabecalho_minha_conta}" onclick="PF('minhaContaVar').show();" styleClass="link-pequeno-simples" />
	        			</p:column>
	        			<p:column>
	        				<h:outputText value="-" />
	        			</p:column>
	        			<p:column>
	        				<p:commandLink value="#{str.cabecalho_alterar_senha}" onclick="PF('alterarSenhaVar').show();" styleClass="link-pequeno-simples" />
	        			</p:column>
	        		</h:panelGrid>
	        	</p:column>
	        </h:panelGrid>
	    </p:fieldset>
	</h:form>
</ui:fragment>